//
//  BaseObject.m
//
//  Created by Suns孙泉 on 14/12/3.
//  Copyright (c) 2014年 Suns. All rights reserved.
//

#import "BaseObject.h"

@implementation BaseObject

- (id)initWithDictionary:(NSDictionary *)dic{
    
    self = [super init];
    if (self) {
        // 利用KVC给成员变量赋值
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

- (id)valueForUndefinedKey:(NSString *)key{
    return nil;
}


@end
